/* stylelint-disable */
@import "~choerodon-ui/lib/style/themes/default";

.base-org-user-sider {
  .c7n-user-uploading {
    &-container {
      margin: 0.32rem 0.24rem;
      padding: 24px 0;
      border-radius: 4px;
      box-shadow: 0 3px 1px -2px rgba(0, 0, 0, 0.2),
        0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
      > .loading {
        position: relative;
        margin: 0 auto;
        width: 50px;
        height: inherit;
      }
      > .text {
        text-align: center;
        font-size: 20px;
        margin-top: 22px;
        margin-bottom: 0.12rem;
      }
      > .tip {
        text-align: center;
        font-size: 14px;
      }
    }
  }
  .c7n-pro-modal-body {
    padding: 0;
  }
  &-option {
    display: inline-flex;
    vertical-align: middle;

    &-avatar {
      width: 18px;
      height: 18px;
      background: rgb(197, 203, 232);
      color: rgb(100, 115, 195);
      overflow: hidden;
      display: flex;
      justify-content: center;
      align-items: center;
      margin-right: 5px;
      text-align: center;
      border-radius: 50%;
      flex-shrink: 0;

      &-noavatar {
        width: 18px;
        height: 18px;
        line-height: 18px;
        text-align: center;
        color: rgb(100, 115, 195);
      }
    }
  }
  &-modal.import-user {
    h3 {
      margin-bottom: 0.16rem;
      color: var(--text-color2);
    }
    p {
      font-size: 13px;
      color: var(--text-color3);
      line-height: 20px;
      margin-bottom: 0.16rem;
    }
    button {
      margin-top: -0.1rem;
    }
    .total-import + .download-detail {
      margin-bottom: 0.16rem;
    }
    .last-import-time {
      margin-bottom: 0.1rem;
    }
    .total-import {
      margin-bottom: 0.04rem;
    }
    .download-detail {
      display: inline-block;
    }
  }
  &-modal {
    //overflow: hidden;
    h3,
    p,
    a,
    &-add-type {
      margin-left: 0.24rem;
      & > form {
        margin-top: 0.2rem;
        margin-bottom: 0.235rem;
      }
    }
    .c7n-pro-btn {
      border: none !important;
      // background-color: transparent !important;
    }
    .hidden-password {
      & > table > tbody > tr:nth-child(1) {
        position: absolute;
      }
    }
    .c7n-pro-field-wrapper {
      padding: 0;
      & > table {
        width: 100%;
      }
    }
    .import-user {
      &-time {
        color: var(--text-color);
      }
      &-success {
        color: #00bfa5;
        font-weight: 500;
        font-size: 0.2rem;
      }
      &-failed {
        color: #f44336;
        font-weight: 500;
        font-size: 0.2rem;
      }
      &-title {
        margin-bottom: 0.16rem;
      }
    }
    .divider {
      width: 100%;
      height: 0.01rem;
      border-bottom: 0.01rem solid var(--divider);
      left: 0;
      margin: 0 -0.2rem 0.2rem !important;
      &-space {
        margin-bottom: 0.2rem;
      }
    }
    .c7n-pro-modal {
      &-body {
        padding: 0;
      }
    }
  }
  &-select {
    width: 3.4rem;
    margin-bottom: 0.3rem;
  }

  &-help-icon {
    color: var(--help-icon-color);
    font-size: 0.14rem;
  }

  &-modal-email {
    .@{c7n-pro-prefix}-input-suffix {
      width: auto;
      line-height: 0.2rem;
      right: 0.05rem;
      color: rgba(0, 0, 0, 0.36);
    }
  }
}
.userLabels-select {
  .c7n-pro-select-placeholder {
    position: absolute !important;
    top: -4px !important;
    left: -2px !important;
    height: 48px !important;
  }
}
